package reflect;

public class ArgDemo {
    public static void main(String[] args){
        dosome("1");
        dosome("1","2");
        dosome("1","2","3");
        dosome("1","2","3","4","5");
        dosome();
    }
    public static void dosome(String... arg){
        System.out.println(arg.length);
    }
}